<script setup></script>

<template>
  <el-container style="border: 1px solid rgb(229, 229, 229)">
    <el-row style="width: 100%; height: 100%; padding: 50px">
      <el-col :span="12" class="form">
        <slot></slot>
      </el-col>
      <el-col
        :offset="1"
        :span="11"
        style="padding: 20px; border: 1px solid rgb(229, 229, 229); background-color: whitesmoke"
      >
        <slot name="tip"></slot>
      </el-col>
    </el-row>
  </el-container>
</template>

<style lang="scss" scoped>
.form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: none;
}
</style>
